package com.sit.estatemanagementserver.enity;

/**
 * 业主实体类 (Owner)
 */
public class Owner {

    /**
     * 电话 (主键)
     */
    private String phone;

    /**
     * 密码
     */
    private String password;

    /**
     * 用户名
     */
    private String username;

    // 构造函数
    public Owner() {
    }

    public Owner(String phone, String password, String username) {
        this.phone = phone;
        this.password = password;
        this.username = username;
    }

    // Getter and Setter
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}